﻿using HelloWorld.RobotFights;
using RobotsFight.RobotImplementation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RobotsFight.RobotImplementation;

namespace GameHost
{
    class Program
    {
        static void Main(string[] args)
        {
            InputHandler handler = new InputHandler();

            GameLogic  logic = new GameLogic(handler);

            try
            {
                //EugeneRobot r1 = new EugeneRobot();
                //SashaRobot r2  = new SashaRobot();
                //RubanenkoRobot r3 = new RubanenkoRobot("S", ConsoleColor.White);
                //RandomRobot r4 = new RandomRobot("X", ConsoleColor.Magenta);
                VadimRobot r5 = new VadimRobot("*",ConsoleColor.Red);

                //AndrewRobot r7 = new AndrewRobot();
                //McRageRobot r8 = new McRageRobot();
                //VitalRobot r6 = new VitalRobot("V", ConsoleColor.Green);

                logic.StartGame(20, 30, new Robot[] { r5 });
                //logic.StartGame(20, 30, new Robot[] {r1,r2,r3,r4,/*r5,*/r7,r6,r8});
            }
            catch ( Exception e)
            {
                Console.WriteLine("Unexpected game exception:{0}", e.Message);
            }
           

            Console.ReadKey();
        }
    }
}
